Pyrohydrolysis sample preparation