Added functions for converting configs to strings

Added and documented functions for converting config hash refs to a
string.