fix barverify, now using assert.deepEqual

using JSON.stringify the order of serialization/deserialization of the underlying storage counts