refactor(HTTPError): Change body serializer to use OrderedDict