default to dict when db cannot be created