Return full API JSON response for queries