JSON and HTML objects now in baseObject.py

Fix stack trace support.