Replace pymatgen low-level objects with monty