I think the dolfin way of doing this is to have nested parameters objects, rather than putting a bare dict in