Fixed XML structure, examples, add json syntax checker