Again, no. Whenever input data is being combined to produce formattedoutput, the cleanest and most efficient approach is to use a template engine such as StringTemplate or FreeMarker.
These key fields can be used as input to existing explain formatting tools, for example db2exfmt, which extract the information from the explain tables and present it in a formattedoutput.