trying to get json to work