jquery pointer is fetched instead of json