Made getJson able to POST