act like json type