Check error when unmarshal scheman.json