Fix most of the conversion for configs