Besides solving the problem with `setattr`, it also solved some old problems with json library modeling (yay).