Remove trailing whitespaces
Add options catchall and include_fields to selectively parse selected
fields

kv {
  trim => "<>,"
  catchall => false
  include_fields => ['from', 'to']
}