enhancement - allow printstruct to work on booleans and boolean arrays