We were able to resolve this issue using StlWrappers from libcxxwrap-julia on the C++ side. Here is the code
StlWrappers
libcxxwrap-julia
and the corresponding Julia side