global

def try_cast(value)

Convert an always-String param to an appropriate type
def try_cast(value)
  Integer(value)
rescue TypeError, ArgumentError
  value
end