modifying idl2json to use hosted processor