Send a dictionary of projects that are available on the database.

    Usage description:
    This function is usually called to get and display the list of projects available in the database.

    :return: JSON, {<int_keys>: <project_name>}

def get_projects():
    """
    Send a dictionary of projects that are available on the database.

    Usage description:
    This function is usually called to get and display the list of projects available in the database.

    :return: JSON, {<int_keys>: <project_name>}
    """
    assert request.method == "GET", "GET request expected received {}".format(request.method)
    try:
        if request.method == 'GET':
            projects = utils.get_projects()

            return jsonify(projects)
    except Exception as e:
        logging.error(e)
    return jsonify({"0": "__EMPTY"})