fixing incoming json results