Mongoose lean(): A Performance Decision for Read-Only Query Paths
Mongoose hydrates every query result into a Document by default. Append `.lean()` to return plain JavaScript objects for serialization-only endpoints, and learn where that shortcut breaks.