fixed output json calls (now output strings of json)