add method to parse list of scopes from a string.