Change value type to an empty interface to avoid unnecessary encoding and decoding.