Refs #3312 - Get rid of futail transformation into/from json for mappings

 + Fix, clean, add tests

When cleaning the zpt (clinet for our clases) we might get rid of the
'schemas': <list> dict too and stay with a simple list.
Refs #3312 - Fix code, add tests