fun toJson(experiment: Experiment): JSONObject
Converts the specified experiment to json
experiment - experiment to convert
experiment
Return json representation of the experiment