Add `toJSON` alias of `valueOf`. [closes #521]
Rebuild dist.