added a section to allow theme developer to return data attribute along with the menu item
added the possibility to attache a partial json array to the data-item attribute of menu elements