add @ramnathv new to_json and implement in Dimple.R