make record_structure printing nicer formatted