Improve `TransportJson` Python
mapper.py: general Python improvements
`ShelveCache`: implement page repertoire
cache.py: implement cache invalidation