added the peer ext json reading instead of package.json