Change map links reader to return content as DOM instead of string