[data import] [fix] shifted common functions to datautils, so as not to cause permission error for role restricted whitelist methods when importing