REST request deserialization