Fix metadata doc. Field name is 'name' not 'state'