better parsing of storage configuration string