Fix resource loading bug, explicitly handle different wikilink serialization formats.