Fix some Python references that should have been JSON references.