moved formatting from Receipt and LineItem to a FormatStrategy class