handle boolean, unknown java class as toString representation