typo fixup
remove leftover ipdb
use working example in configuration file
Workaround encoding problem in optional_attributes