// Path: src/main/java/nl/uva/larissa/json/model/Agent.java
// @JsonInclude(Include.NON_NULL)
// public class Agent implements Actor, Authority, Instructor, StatementObject {
// 
// 	private String objectType;
// 	private String name;
// 	@JsonUnwrapped
// 	@Valid
// 	@NotNull
// 	private IFI identifier;
// 
// 	public String getName() {
// 		return name;
// 	}
// 
// 	public void setName(String name) {
// 		this.name = name;
// 	}
// 
// 	public IFI getIdentifier() {
// 		return identifier;
// 	}
// 
// 	public void setIdentifier(IFI identifier) {
// 		this.identifier = identifier;
// 	}
// 
// 	public String getObjectType() {
// 		return objectType;
// 	}
// 
// 	public void setObjectType(String objectType) {
// 		this.objectType = objectType;
// 	}
// }


import java.io.IOException;
import nl.uva.larissa.json.model.Agent;
import com.fasterxml.jackson.core.JsonGenerationException;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.jsontype.TypeSerializer;
package nl.uva.larissa.json;




public class AgentIdsSerializer extends JsonSerializer<Agent> {

	@Override
// Path: src/main/java/nl/uva/larissa/json/model/Agent.java
// @JsonInclude(Include.NON_NULL)
// public class Agent implements Actor, Authority, Instructor, StatementObject {
// 
// 	private String objectType;
// 	private String name;
// 	@JsonUnwrapped
// 	@Valid
// 	@NotNull
// 	private IFI identifier;
// 
// 	public String getName() {
// 		return name;
// 	}
// 
// 	public void setName(String name) {
// 		this.name = name;
// 	}
// 
// 	public IFI getIdentifier() {
// 		return identifier;
// 	}
// 
// 	public void setIdentifier(IFI identifier) {
// 		this.identifier = identifier;
// 	}
// 
// 	public String getObjectType() {
// 		return objectType;
// 	}
// 
// 	public void setObjectType(String objectType) {
// 		this.objectType = objectType;
// 	}
// }


// Path: src/main/java/nl/uva/larissa/json/AgentIdsSerializer.java
import java.io.IOException;
import nl.uva.larissa.json.model.Agent;
import com.fasterxml.jackson.core.JsonGenerationException;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.jsontype.TypeSerializer;

package nl.uva.larissa.json;




public class AgentIdsSerializer extends JsonSerializer<Agent> {

	@Override
	public void serialize(Agent agent, JsonGenerator generator,