Add task to display errors usefully
Remove any \n from objectid
Take the approach to solve most of the problem the best way and leave
the hack for when it is needed.
Use curl via shell for large writes