json!!

error 400, {error: 'Validation ...'}.to_json