renamed the http and json errors. made the json error inherit the http error but render differently. made the stack trace collection optional.