Avoid line breaks and tabs in XOVER responses.
Use MongoCursor.sort instead of a manual "orderby" field.