Fix `statistics` encoding

Match value with the correct key/name.