Refactor sidekiq serializer a little