def _make_extension_entry(name, description, url, enabled, core,
    latest_version, installed_version, status, installed=None):
    """Create an extension entry that can be sent to the client"""
    ret = dict(name=name, description=description, url=url, enabled=enabled,
        core=core, latest_version=latest_version, installed_version=
        installed_version, status=status)
    if installed is not None:
        ret['installed'] = installed
    return ret
