add a bash script for checking unvalid JSON files