java return statement returns {"output":"TestData","log":"[\"Log Data\"]"} how to get exact return as a output?

java return statement returns {"output":"TestData","log":"[\"Log Data\"]"} how to get exact return as a output?

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import com.zoho.cloud.function.Context;
import com.zoho.cloud.function.basic.*;
public class JavaCurToWords implements ZCFunction {
public static String convertToIndianCurrency(String num) {
        BigDecimal bd = new BigDecimal(num);
        long number = bd.longValue();
        long no = bd.longValue();
        int decimal = (int) (bd.remainder(BigDecimal.ONE).doubleValue() * 100);
        int digits_length = String.valueOf(no).length();
        int i = 0;
        ArrayList<String> str = new ArrayList<>();
        HashMap<Integer, String> words = new HashMap<>();
        words.put(0"");
        words.put(1"One");
        words.put(2"Two");
        words.put(3"Three");
        words.put(4"Four");
        words.put(5"Five");
        words.put(6"Six");
        words.put(7"Seven");
        words.put(8"Eight");
        words.put(9"Nine");
        words.put(10"Ten");
        words.put(11"Eleven");
        words.put(12"Twelve");
        words.put(13"Thirteen");
        words.put(14"Fourteen");
        words.put(15"Fifteen");
        words.put(16"Sixteen");
        words.put(17"Seventeen");
        words.put(18"Eighteen");
        words.put(19"Nineteen");
        words.put(20"Twenty");
        words.put(30"Thirty");
        words.put(40"Forty");
        words.put(50"Fifty");
        words.put(60"Sixty");
        words.put(70"Seventy");
        words.put(80"Eighty");
        words.put(90"Ninety");
        String digits[] = {"""Hundred""Thousand""Lakh""Crore"};
        while (i < digits_length) {
            int divider = (i == 2) ? 10 : 100;
            number = no % divider;
            no = no / divider;
            i += divider == 10 ? 1 : 2;
            if (number > 0) {
                int counter = str.size();
                String plural = (counter > 0 && number > 9) ? "s" : "";
                String tmp = (number < 21) ? words.get(Integer.valueOf((int) number)) + 

" " + digits[counter] + plural : words.get(Integer.valueOf((int) Math.floor(number 

10* 10)) + " " + words.get(Integer.valueOf((int) (number % 10))) + " " + digits

[counter] + plural;                
                str.add(tmp);
            } else {
                str.add("");
            }
        }

        Collections.reverse(str);
        String Rupees = String.join(" ", str).trim();

        String paise = (decimal) > 0 ? " And Paise " + words.get(Integer.valueOf((int

(decimal - decimal % 10))) + " " + words.get(Integer.valueOf((int) (decimal % 10))) : 

"";
    return "Rupees " + Rupees + paise + " Only";

   }

    public void runner(Context context, BasicIO basicIO) throws Exception {
    context.log("Log Data");
    basicIO.write("TestData");
    }
}




                            Zoho Desk Resources

                            • Desk Community Learning Series


                            • Digest


                            • Functions


                            • Meetups


                            • Kbase


                            • Resources


                            • Glossary


                            • Desk Marketplace


                            • MVP Corner


                            • Word of the Day



                                Zoho Marketing Automation


                                        Manage your brands on social media



                                                Zoho TeamInbox Resources

                                                  Zoho DataPrep Resources



                                                    Zoho CRM Plus Resources

                                                      Zoho Books Resources


                                                        Zoho Subscriptions Resources

                                                          Zoho Projects Resources


                                                            Zoho Sprints Resources


                                                              Qntrl Resources


                                                                Zoho Creator Resources


                                                                  Zoho WorkDrive Resources



                                                                    Zoho Campaigns Resources

                                                                      Zoho CRM Resources

                                                                      • CRM Community Learning Series

                                                                        CRM Community Learning Series


                                                                      • Tips

                                                                        Tips

                                                                      • Functions

                                                                        Functions

                                                                      • Meetups

                                                                        Meetups

                                                                      • Kbase

                                                                        Kbase

                                                                      • Resources

                                                                        Resources

                                                                      • Digest

                                                                        Digest

                                                                      • CRM Marketplace

                                                                        CRM Marketplace

                                                                      • MVP Corner

                                                                        MVP Corner




                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now