It would be better if this REST endpoint just accepted `application/json`, and us just posting a JSON object. Then we don't have to worry about flattening things. I think this would be necessary if you accept my other comment about restructuring the metadata in ContentAPI.