added additional parsing of JSON composed by an array and multiple
hashes