fix pointers to strings instead of string objects in package_object