Recent versions of the validator module break compatibility.

package.json should lock in compatible version. validator on npm is currently on version 3.