Move getString to utils.go