'load the json dict at the metadata path defined by the kv_metadata value
and the node name add each entry in the dictionary to the the node\'s
metadata'

def load_node_metadata_from_kv(self, node_data):

    node = node_data['Node']
    if self.config.has_config('kv_metadata'):
        key = ('%s/%s/%s' % (self.config.kv_metadata, self.current_dc, node['Node']))
        (index, metadata) = self.consul_api.kv.get(key)
        if (metadata and metadata['Value']):
            try:
                metadata = json.loads(metadata['Value'])
                for (k, v) in metadata.items():
                    self.add_metadata(node_data, k, v)
            except:
                pass
