almost finishes json loader