Replacing calls to the old JSON parser with calls to the