Minor refactor on ObjectTypeDumper