Persist enums directly since db4o is being dumped