GHC 7.0.2 compatibility
Write per package JSON files in package-specific directories