add media descriptors
fix indentation
Merge pull request #4504 from dimagi/media-desc

add media descriptors