Add irb script
[Tools] Refactor sanitize_parameters

This commit allows to support multiple classes like ActiveSupport::TimeWithZone (Duck Typing)