Moment library implements its own toJSON function returning string format: http://momentjs.com/docs/#/displaying/as-json/ As moment object has toJSON function the replacer used to stringify pyson expressions never receive a moment object because it is dumped before. It is needed to prepare pyson object as same design as Sao.rpc.prepareObject issue6027 review31701002