Rename `serializer` setting to `seralize`, and merge `persistent` and `persistent_id` setting