Added json format check