Added parsejson function stub and test for it