Parses JSON config string into a JSON object of type T.
Map config to parse
Cleaned and parsed config object
When the cleaned string is not valid JSON
Parses JSON config string into a JSON object of type T.