fixed console message display of array properties, changed output to JSON