Proline isomerization