Improved Server-serialization (now JSON)