Automatically serialize Error objects in primus using ejson
Fix editing of companies (using sharejs)