class BookUtils {
    static getBookAuthors(book) {
        return BookUtils.stripSymbols(book.authors.map(author => author.name).join("; "));
    }

    static getBookSeries(book) {
        return book.series ? book.series + ' [' + book.ser_no + ']' : ' ';
    }

    static stripSymbols(str) {
        return str.replace(/^[, ]*(.*?)[ ,]$/, "$1");
    }
}

export default BookUtils;
@@ -64,31 +64,8 @@
 urn 
-BookUtils.stripSymbols(
 book
@@ -87,16 +87,39 @@
 thor =%3E 
+BookUtils.stripSymbols(
 author.n
@@ -122,16 +122,17 @@
 or.name)
+)
 .join(%22;
@@ -134,17 +134,16 @@
 in(%22; %22)
-)
 ;%0A    %7D%0A
@@ -332,16 +332,17 @@
 .*?)%5B ,%5D
+*
 $/, %22$1%22

Fix striping of symbols