I noticed enum flags are serialized as "FLAG_A | FLAG_B" instead of as integers. It would be useful to serialize them as integers to better support versioning/refactoring, at least in my case. Is there a specific reason that they are serialized as strings? I would be happy to make a PR to change this btw, if there is interest.