better parsing of metadata
merge master into js-IPTC-metadata
fix logging
Merge pull request #679 from nla/js-IPTC-metadata

Js iptc metadata