adedded packing to JSON data closes #9