Ensure all keys and values are stored as binaries