testing getJson implementation