added json http request, need to fix callback function