When iterating a model take care of all objects implemeting
the list interface to convert inner models into dicts.

refs #18