add version info
support for url extensions: xml, json, html