Refactor: scheduler: best practices when expanding notification entries
Rename expand_list() to notify_entries_to_strings() for clarity, improve
comments, rename variables for clarity, and use similar approach as previous
commit to ensure output argument values are never NULL.