Parses the request body into an object