coreserver: Force Struct() argument to str

Signed-off-by: Michael Buesch <m@bues.ch>