def format_element(element):
    """
    Format a raw json element doc
    """
    for key in ('link', 'key', 'system_key', 'system', 'read_only'):
        element.data.pop(key, None)
    return element.data.data