"If you choose to go this way you could write a helper class for writing out things such as a property and a value." . . . . .