Correct JSON parsing to Java objects, however it still needs to add some methods to correctly pass data to ANN(pice of cake)