In fact the main problem was that it was the class 'TechniqueVersion' which was called and it was trying to serialize the Class into Json ... 

replacing it by techniqueVersion