def _parse_hardware(data):
    '''
    Internal helper function to parse hardware grain information.
    '''
    ret = {'hardware': {}}