Corrections to text formatting specs

Please, note that this changes partially breaks the compatibility with the previous version. At this point of time, as there is no tools in public usage that create and consume the format, we are safe (I hope).