update json http call to actually work