change to json type