Bug fix for IPC message serialisation

bug

A bug was fixed with IPC message serialisation that resulted in some operations relating to cross process promises failing.