Read data from tfpackage directly instead of context[metadata]