Cleans up recipes controller, and implements simple pg json wrapper for quicker json requests.