Turn entry_type into a select field.
Move serializing logic out of models.py.