Refactored the remove-id-from-body function.
Replaced nesting with thread-last macro
Pulled out smaller functions
Extracted middleware.clj