Enhance the performance of copying JSON.