def dehydrate_content_ratings(content_ratings):
 for body in (content_ratings or {}):
  content_ratings[body] = dehydrate_content_rating(content_ratings[body])
 return content_ratings

def dehydrate_content_ratings ( content_ratings ) : for body in ( content_ratings or { } ) : content_ratings [ body ] = dehydrate_content_rating ( content_ratings [ body ] ) return content_ratings
dehydrate an object of content ratings from rating ids to dict .