Return all errors as JSON message