Including package data like json files in package

Fixes #1150.