Enter validate() method
re-write sanitize() to make it recursive

Signed-off-by: Suki <suki@missallsunday.com>