Print formatting - dotted lists w/ helper function