fix bug printing custom cvalue types that lack print methods