Setting default tree to empty object

In order to allow errors to propagate in string-checker.js

Closes gh-554