improved json validator to output meaningful error
Merge pull request #146 from michele-comitini/native_json_local_check

improved json validator to output meaningful error