Fixed enum serialization, now they serialize as strings instead of integers. That way generated JSON/XML is easier to understand.