hepmc: add human-readable printing functions