optimized version of `PC_Patch(PC_Transform(PC_Explode(pcpatch), integer, json))` where the pcpoint version is discussed in #15.