Fixed type error with non-string child items

And removed partial application style, not worth it, makes debugging
much harder