Revert "Minor refactor of cooked_post_processor.rb to improve CodeClimate score"

This reverts commit 00c5db7cf1ecabb68bea4660906d53f0389ea3e4.