Fixed standalone client by encoding Map data as JSON.