Best practice for passing Array of Objects from C++ to TS using FFI - Deno