cgi to convert json api to plist