added json nnet loading/saving + tests