Fixes #89. Invalid JSON in examples.

Fixes #89.
Everything is explained on issue's page.