New version of map_fields with more sensible handling of parameters
Add a test that include one extra level
Reduce no intermediate variables
No deleting of things in map_fields
map_fields can now act at multiple levels
Add proper validation of the json for the other classes