Return json for PUT