Practical metadata solutions using application profiles