LERGO-308 - based on Rahul's script, this script running on mongo, will update all media records and convert them to the new structure.