Update npm test to use local mocha binary
Strip unknown properties from objects on retrieval as well as persist