def _getrawimagelist(glance_client):
    """Helper function that returns objects as dictionary.
    We need this function because we use Pool to implement a timeout and
    the original results is not pickable.

    :param glance_client: the glance client
    :return: a list of images (every image is a dictionary)
    """
    images = glance_client.images.list()
    return list(image.to_dict() for image in images)