def _translate_attachment_summary_view(volume_id, instance_uuid, mountpoint):
    """Maps keys for attachment summary view."""
    d = {}
    d['id'] = volume_id
    d['volumeId'] = volume_id
    d['serverId'] = instance_uuid
    if mountpoint:
        d['device'] = mountpoint
    return d
