Fixed bug in POST in REST API. The whole request body is not counted as metadata.