refactor template helpers and additional info for uniform package/resource objects