Change FromJSON to NewFFNet struct initializer function