Add the json api error keys, correct those containing dashes