nitpick - unused var

toJson
Merge pull request #405 from doapp-ryanp/patch-1

nitpick - unused var