cleanup new JSON loader