Make ruby < 2 happy with openstruct copying