json to Form object and validate it