parser from native Elixir structs to angularTreeview format