update ft.string.inject for plain objects