More elegant way to handle JSON "null" in Python eval
Use revision, not title, as a key in getVal()

Getting this wrong can lead to wrong JSON eval() results,
which belong to the same title but not to the same revision.