Add strict mode to ObjectHash