Added StripJSONBrackets method.