JsonGenerator now extracts class attributes