Revert "local state: move Metadata methods together"
Revert "local state: move Metadata methods together"

This reverts commit 9bc8127728a62beb94b28849070b6ac35c181404.

hashicorp/consul,42wim/consul,hashicorp/consul,42wim/consul,vamage/consul,calgaryscientific/consul,i0rek/consul,kingland/consul,vamage/consul,scalp42/consul,vamage/consul,i0rek/consul,kingland/consul,scalp42/consul,scalp42/consul,hashicorp/consul,youhong316/consul,42wim/consul,calgaryscientific/consul,youhong316/consul,vamage/consul,youhong316/consul,kingland/consul,kingland/consul,vamage/consul,i0rek/consul,calgaryscientific/consul,scalp42/consul,scalp42/consul,calgaryscientific/consul,hashicorp/consul,kingland/consul,calgaryscientific/consul,42wim/consul,42wim/consul,i0rek/consul,youhong316/consul,youhong316/consul,i0rek/consul