[Complete] pkg.json parse