Pass a map of values back to the C++ layer. The operation is performed synchronously and cannot fail.