Update npm forms module.
Add repository to package.json.
Simplify and fix getting fields options from defaults.