Changing validation return object