BTW, why ... ?

    state: ! 'AZ '

What `!` means there?
Moreover, it contains an additional space at the end of the string which is also in the YCP data, but it doesn't seem to be correct from the POV of understanding the data versus usage of the data.