readme: Add usage example for $.toJSON

Add usage example to save hurried devs a couple few seconds of reading the source.