Use formatted_backtrace in JSON formatter
Created by: mlarraz
Currently the JSON formatter does not respect the --backtrace
flag (it will always print the full backtrace).
I believe this should behave the same as other formatters and respect the config.