Add json object validate functions to variables.