async def get_all_entities(entities):
    """Get all entities on the same dict.

    Watson API will return a list containing dictionaries for each,
    entity found. On large numbers of entities it becomes hard to get
    what we want, this function is meant to be an helper function to get
    all the entities into a concise dictionary containing {<string>:<list>}

    Return:
        Dictionary containing entities name and list of values.

    """
    entities_dict = dict()
    for entity in entities:
        name = entity["entity"]
        val = entity["value"]

        entities_dict.setdefault(name, []).append(val)
    return entities_dict