Moved storing and converting to separate method in whelk – using same
method for both single add and bulkAdd.