Fix adapter.defaults: initialize data as a dict inside the constructor