Compress json field