[server] add Content-Type informations for JSON results