def name_highway_key(tags):
    """ Convert way tags to name, highway keys.
    
        Used by ParserOSM.parse().
    """
    if 'name' not in tags:
        return None
    if 'highway' not in tags:
        return None
    if not tags['name'] or not tags['highway']:
        return None
    return tags['name'], tags['highway']
