Correctly return json dict with id of new object on POST
Decode value before inserting into storage on PUT