Can serialize Document now using json-simple instead of gson, since I couldn't get gson to serialize UUID. Not a perfect library, but it works.