[idl] correct nested elements in patch messages