added json-validation

Please check if this suites fine.