properties view: update generator to use correct pretty printer

Created a pretty printer that allows one to print partial ASTs and let the properties view use that.