Fixed a bug where Pregel would break down after a period of time. We tried to write shaped JSON
Merge branch 'pregel' of github.com:triAGENS/ArangoDB into pregel