fixing JSONProtocol issue and final decoding of algorithm instance in engine, linear regression example is working (no normalization)