Corrected serialisation of tools, and correct message scope
treat data as an object
Histories is no longer promise-gated
Corrected channel scope