adding support for json, html, xml and none format modifiers