Return 400 Bad request on incorrect json body in POST/PUT data