def build_query_params(query_str, query_class, max_hits):
    """
        takes the input string, query_class (can be empty) and max_hits and
        returns a dict with the required GET paramets for the service

    """
    return {
        'QueryClass': query_class,
        'QueryString': query_str,
        'MaxHits': max_hits
    }