Fixed Serialization Encoding

...and minor stuff in the web client