def METHOD_NAME(a, *args, **kw):
    node_details = a
    hostvars = args[0]
    interfaces = hostvars['interfaces']
    node_details['normal']['service_ip'] = interfaces['service']['ip']
    node_details['normal']['host_vars'] = {}
    node_details['normal']['host_vars'].update({'interfaces': interfaces})
    licenses = hostvars.get('licenses')
    if licenses is not None:
        licenses = {'licenses': licenses}
        node_details['normal'].update(licenses)
    # add aggregate to top level node attributes section
    aggregate = hostvars.get('aggregate')
    if aggregate is not None:
        aggregate = {'aggregate': aggregate}
        node_details['normal'].update(aggregate)
    # add zone to top level node attributes section
    zone = hostvars.get('zone')
    if zone is not None:
        zone = {'zone': zone}
        node_details['normal'].update(zone)
    return node_details