Zoho creator api - search view returns var variable instead of json

Zoho creator api - search view returns var variable instead of json

I am trying to search a view the following api call.

https://creator.zoho.com/api/json/app-name/view/Books_Invoice_Report?authtoken=xxxxxxxx&scope=creatorapi&zc_ownername=xxxx&criteria=(Invoice_ID="127624000019543065")

The return value should be json. But the result is like a java code like this.

var zohomarkozivkoview70 = {"Books_Invoice":[{"Status":"sent","Due_Date":"12.12.2017","Customer_Name":"Radica Goran dr.med.dent.","Salesperson_Name":"Josipa Guzanović","Sub_Total":"kn 85.50","Invoice_Number":"2017-1-5088","Invoice_ID":127624000019543065,"Salesperson_ID":127624000013211099,"Invoice_Date":"12.12.2017","Customer_ID2":127624000000145967,"Customer_ID":127624000000145967,"Invoice_Amount":"kn 106.88","ID":"2684190000000881426","Balance":"kn 106.88"}]};

Is this correct or is it a bug in the API?