Ensures that UUID objects are encoded to strings in default JSON outputs. Fuller support for UUID field is incoming in #2432.