having problems with arrays in the json strings