kv typed store: forbid unexported struct fields