add simple script to check json and xml files if is valid