fixed bug with multidimensional arrays in json output fixed #81