Add script to validate JSON examples files for API