added json and xml validators