entry_model: have Entry implement the Marshaler interface so that entries can be marshalled properly in lists