Give the post entity types sort of an enum. import encoding/json