Allow documents to override output property in front-matter

Allow documents to override the collection's `output` property in its front-matter. Fixes #2956. Should be a non-breaking change.