Extended JSON library; used in DDP/Meteor