Fixed the ostream type map which failed with pointers