Update toJson method and add sample conf