creating json objects for REST POST to mciaas