def from_datastore(entity):
    """Formats data from datastore

    Datastore typically returns:
        [Entity{key: (kind, id), prop: val, ...}]

    This returns:
        [ name, description, pageCount, author, review ]
    """
    if not entity:
        return None
    if isinstance(entity, list):
        entity = entity.pop()
    return [entity['name'],entity['description'],entity['pageCount'],entity['author'],entity['review']]