Simple Elixir implementation of serializable structs or records.