Added test script to return data in json object