Manage to avoid the problem with Gson.