Fixed TextFormat::toJSON() on nested formatting