HTTP/1.0 404 Not Found Cache-Control: no-cache Content-Type: application/json
{"validation_message":'...'}
will return:
which can then be turned into a JSON object.