Force consistent handling of error codes; force the api to send all errors as JSON encoded strings.