changes h5 output for annotations