Broke out logic used to stringify fields based on type into its own method.