Fix server-side crash caused by method enumeration by FML event bus.
ItemTree should be using strings now.

THis is probably horribly broken, but it compiles.