adapting to new package layout, added support for new source_alias variable attribute in json