Add *.json to gitignore
Remove unused stacktrace code