'Returns a dictionary of all of the fields from the raw result.
Useful for serializing results. Only returns what was seen from the
search engine, so it may have extra fields Haystack\'s indexes aren\'t
aware of.'

def get_additional_fields(self):

    additional_fields = {}
    for fieldname in self._additional_fields:
        additional_fields[fieldname] = getattr(self, fieldname)
    return additional_fields
