Fix error about ESRmotes.json not found on module import