http://kiennt.com
Pattern matching is not a new feature in Elixir. This feature is already introduced…
When you want to convert a class to dictionary just define class override from object (this is important) and then call method __dict__