Get Query From Json