Respond with unprocessible entity to API if invalid object