Refactor peps.json
logic into PEP class
#2585
Merged
peps.json
logic into PEP class
#2585