lib: format the display of attributes for person_record