Type-conversions with FFI turned out to be non-trivial, so `{"embedding":[...]}` was a way out at the cost of a small performance hit (when compared to the time spent on inference).
We'll take another look.
We'll take another look.
And on the cpp side, remove the json encoding and just return a raw buffer.