Validate json

Change-Id: I8c695550833f58ae4c29629dd8c455a421c45832