enforce encoding on reads / writes

we can't be sure how the underlying level instance is configured. enforce
key and value encoding on reads and writes to make sure data
isn't lost being converted to strings