trying to serialize photo model