Support more formats of api calls from sdk