DOC: more documentation for NIML parser/printer
SML+RF: minor code cleanup suggested by @yarikoptic