Return a HTTPStatus compliant body attribute

        Be sure to purge any unallowed properties from the object.

        TIP: At the risk of being a bit slow we copy the errors
             instead of mutating them since they may have key/vals
             like headers that are useful elsewhere.

def get_body(self):
        """ Return a HTTPStatus compliant body attribute

        Be sure to purge any unallowed properties from the object.

        TIP: At the risk of being a bit slow we copy the errors
             instead of mutating them since they may have key/vals
             like headers that are useful elsewhere.
        """

        body = copy.deepcopy(self.errors)

        for error in body:
            for key in error.keys():
                if key not in self.ERROR_OBJECT_FIELDS:
                    del error[key]
        return json.dumps({'errors': body})