added json validator