Added some json validation and error handling
Merge branch 'dev' of github.com:Ezphares/sw809f14 into dev