Fix toJSON virtual order