JSONSchedulerConnector and OptionsConnector

Trying to use JSONSchedulerConnector and OptionsConnector together similar to examples for unit view. Unfortunately optionsconnector returns xml, thus breaking everything. How is this supposed to work?

Include data_connector.php and you will be able to use JsonOptionsConnector. It uses the same syntax as OptionsConnector, but will generate json instead of xml.