fix: use repr(field) with warning when field is not serializable