Improve validation decorator. Add the option to add a schema signature to the validated output.