Added JSON example to doc