support passing Object type parameter as key to s.i18n()