Recipe parser refactoring