This patch switches from JSONSimple to Gson for generating JSONresponses avoiding some `unchecked` warnings.