character_substitutions optional, added JSON parse

Made the config key character_substitutions optional, and added a
function to the Util package to load a config from a JSON string.