Anya - Add batch monitoring

check that the user doesn't input something thats not a json