Importing collection in nodejs via collections sdk

Has anyone been able to import a json received from postman rest api into a collections sdk?

I have a nodejs webapp, where I receive a postman collection and workspace Id. I use it to fetch collection json via postman rest endpoints. I then use that json to create a Collections javascript object via collections sdk. Idea is to be able to use functions provided by sdk, and later execute those collections object via newman.

I keep facing problems because after import collection object is always empty. It does not have “Items” object populated.

More details here - Collections sdk always shows empty Item object when importing from JSON

Any help is much appreciated. Thanks.