neuron to json, synaps to json, current class