add generate json and cs style