'Basic legacy transformation.
Basic method will just drop the fields that are not in
_legacy_fields set. Override this in subclass if needed.'

def legacy(self):

    return {key: self.get(key) for key in self._legacy_fields}
