JSON transformation should be applied recursively.

To handle the case in which fields are nested.