change Dimple to use new to_json

all dimple tests passed
dimple uses orient="record"

@ramnathv will you check?