Translator between JSON and PHP serialization format for node.js