Added support for format in url (.json)
Changed the behaviour of the output formatting

default match is no longer text, if a format not supported is requested;
eg. instance_id.xml, then an exception will be raised, stating that the
format isnt supported yet, instead of giving you text.