CC-5450 : Refactor Media Management (Classes/DB) in Airtime

new code for getting the dashboard json.