Fix #5 and slightly change the API of PyPIJson.