Added query to get data reading json
Added query to read json arrays