made entity collection serializable