Add attributes to types when printing

Fixes issue #1, to transmit the description and example in nested
workflow signatures