Only flatten if its a form field

There is some case where you dont want to flatten (I have some :)).
In fact, you only want to flatten on ``FormField`` because some special fields can handle ``dict``.

This PR restricts ``dict`` flattening to ``FormField`` only.