add configurability to how terms and payloads are printed