Changed method name to setJSON and getJSON
Fixed setJSON and getJSON