expose product and resource to .meta for each model