Fix input stream unicode handling

- unit tests for key+value strings with unicode characters in them
- use $json->decode() instead of decode_json in
  App::RecordStream::Stream::Base