expander routine to expand loader metadata when possible

WIP