Extracting the metadata from the request body.