[PORTTISK-875] metadata now validates the state data before trying to load it
[PORTTISK-875] metadata now validates the state data before trying to load it

uhef/Oskari-Routing-frontend,uhef/Oskari-Routing-frontend,uhef/Oskari-Routing-frontend,uhef/Oskari-Routing-frontend,uhef/Oskari-Routing-frontend,uhef/Oskari-Routing-frontend