convert METADATA to json for state boundaries