Currently, explicitJson is hardcoded to be true in the generated classes, which doesn't match the expectation of pre-existing code migrated from another library.
It should be able to be configured to be false, such that toJson() only shallow-convert the object to Map