Created JSON document generator.