very basic model for json generation