testing rendering JSON documents