Takes JsonHelper in the constructor