DB Connections: fixing issue with options of types other than str