Added json check.