My below java code returns the following output.

```
public String getAttributeMaster_2() throws JsonProcessingException {       
    Cluster cluster = couchBaseConnectionManager.openBucketOfActivCluster(CouchbaseBucket.RangePlan);
    Map<String,Object> attributeMap = new HashMap<String,Object>();
    attributeMap.put("Product_Brand", attributeMasterRepository.getProductBrand(cluster, CouchbaseBucket.RangePlan));   
    attributeMap.put("Product_Type", attributeMasterRepository.getProductType(cluster, CouchbaseBucket.RangePlan));
    attributeMap.put("Product_Event", attributeMasterRepository.getProductEvent(cluster, CouchbaseBucket.RangePlan));
    String attribute = attributeMap.toString();

    return attribute;

}

```

Output:

```
{"Product_Type"=[{"active":true,"description":"ACCESSORIES","id":1}, {"active":true,"description":"ALL IN ONES","id":2}], "Product_Brand"=[{"active":false,"description":"101 DALMATIANS","id":1}], "Product_Event"=[{"description":"BABY EVENT","id":2}, {"description":"ACTIVE EVENT","id":1}]}

```

Expected output:

```
{"Product_Type":[{"active":true,"description":"ACCESSORIES","id":1}, {"active":true,"description":"ALL IN ONES","id":2}], "Product_Brand":[{"active":false,"description":"101 DALMATIANS","id":1}], "Product_Event":[{"description":"BABY EVENT","id":2}, {"description":"ACTIVE EVENT","id":1}]}

```

Issue:
I want the to replace =(equals) sign with :(colon).

For Ex: Product\_Type as "Product\_Type". Same is the case with Product\_Brand and Product\_Event.

Please let me know if someone can help me achieve this.

I am new to java coding. Appreciate your response.

Thanks,