expand the demo to include a JSON document