Adds new fields to documents. $addFields outputs documents that contain all existing fields from the input documents and newly added fields.

See usage.