Add ErrorBody struct so all errors will have the same JSON format. If a failregex is malformed send a 400 error code with the fail message