Remove unused json values in server response