made all response type as JSON. found a way to convert json hashmap to string