add urls of items below in hierarchy in json output