Change validate callback to follow node convention

Small change to switch params for the validate callback to follow node callback convention `(err, result)`