export exceptions as json and provide more info