Refactored the RestManager into a more generic Dispatcher class. Content negotiation is no longer handled by this new setup.