Fix OHAI-516 Serialize and encode data to UTF-8