1b-2a migration: changed json.loads, because of multiple codecs problem, to search-replace.