Put handler extracts data from body, validate it and hydrate the object.