The feature introducing:
was implemented in
SERVER-18794, SERVER-23310but was not added to the documentation.
- is related to
SERVER-18794 Add an aggregation expression to convert an object to an array of key, value pairs
SERVER-23310 Add an expression to convert an array of pairs to an object