ability to serialize neural net to json