JSONLoader and Factory working