Library and examples for the IPTC NewsML-G2 news exchange format