fixed typing of jsonGenerator so it can be actually overridden
Merge pull request #47 from bmdhacks/JsonGenerator

fixed typing of jsonGenerator so it can be actually overridden