see http://answers.nuxeo.com/questions/7264/problem-with-document-creation-rest-api-document-json-properties-in-a-collection-are-ignored