Refactor and consolidate serializer option setup

I've consolidated the options and logic for building a serializer into a centralized method. I'm not super familiar with the Rails internals for rendering and responding, so there might be a better approach, but this at least cleans it up a bit and should make a future refactor easier.