delphi: Add conversion for 64bit UID to 32bit
Update documentation generator to match latest protocol v2 changes