Can you do a dump that way?
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.
>
Do you know which documents caused that extra comma at the end? Is
there anything you can tell us to help us track this down? What
platform/version of mongo were you using?
I have created an issue here: http://jira.mongodb.org/browse/SERVER-2742
Please feel free to add any information that might help.