Corrected an issue whereby Json objects permitted duplicate entries.
Merge pull request #3 from huntc/malformed-json-obj

Error using native node.js