fix: functions cannot be saved in json, dumbass