ObjectFactory final and Json writer from model