Added double json querying support