refactor: Make author map loading more generic