just commenting for the sake of posterity, but it annoys me in several places throughout the code where we call something json when it's actually a python dict. we should come up with a better name for such things.