Add documentation for toJSON

:warning: Wait for https://github.com/montagejs/collections/pull/87 to be merged and released. This still needs a suitable version of collections for the example to work.