exception -> Exception, XML -> JSON