adding output as json support. includes display of common exception properties.