Fixed handling of requests with non-object bodies

Content Management API

Improved the error messaging when trying to create an entry with a non-object body