changes references to JSON library, reverses row/col reference