Changing goodreads api to use a dictionary instead of list + locking