handle converting map[string]interface in export