Fix to getJson calls