Add multi-value field support

* Instead of concatenating multi-valued fields into one binary add a
  `{FieldName, FieldVal}` pair to the result for each value.

* Add a test for multi-valued fields.

* Log the stacktrace for an unknown error.