I opened a support ticket on this. After spending 5+ hours on writing Try Catch statements to no avail. They said JSON is new technology that Fortinet is slowing implementing. The FortiOS CLI is stable and best solution for the configuration. So I will be using response.text to print the results and text based file printing for API calls.