changed getJson callback