load json data from [] or {'items':[]}