libs/core: properly handle udata values in overloaded string format operator