@param enforceGenericsInCollections
     *            true if generics should be enforce, false to only allow
     *            internal types in collections
@param enforceGenericsInCollections
     *            true if generics should be enforce, false to only allow
     *            internal types in collections | JsonCodec.java