revert ruby change, instead use custom json