revert json -> text