Make Product class serializable