Centralized formatting of common types with templated helpers