add 'toJson()' call for testing in Backbone code