<｜begin▁of▁sentence｜>### Instruction:
Given the Condensed Matter Collaborations 2005 graph which you can read from a GML file named cond-mat-2005.gml, can you use the DER (Diffusion Entropy Reducer) clustering algorithm in `cdlib` to perform community detection? And, can you convert the resulting NodeClustering object to a JSON representation?
### Response:
import networkx as nx
from cdlib import algorithms

# Load the graph
G = nx.read_gml('cond-mat-2005.gml')

# Perform DER clustering
coms = algorithms.der(G, walk_len=3, threshold=0.00001, iter_bound=50)

# Convert clustering to JSON
coms_json = coms.to_json()
print(coms_json)
<|EOT|>
