description of fix_additional_fields

def fix_additional_fields(data):
        """description of fix_additional_fields"""
        result = dict()
        for key, value in data.items():
            if isinstance(value, dict):
                result.update(KserSpan.to_flat_dict(key, value))
            else:
                result[key] = value
        return result