define resources in new module
send json to server
json to Form object and validate it