add Convert.to_literal and getliteral to the ConfigInterface
add Convert.to_literal and getliteral to the ConfigInterface