Database

[{value:{a:1,b:"yellow",c:{"foo":"baz"}}}]

Query

db.collection.aggregate([{"$replaceRoot":{"newRoot":"$value"}}])

Result