improve compress json