pub fn open_writer( xtype: &str, config_json: &str) -> Box<dyn Future<Item = IndyHandle, Error = ErrorCode>>