json validate in user interface