Improve config loading for codecs and implement negate multiline codec option