Add to_h to Receipt.