CustomMapEditor

If the incoming value is of the given type, it will be used as-is.
If it is a different Map type or an array, it will be converted
to a default implementation of the given Map type.
If the value is anything else, a target Map with that single
value will be created.

The default Map implementations are: TreeMap for SortedMap,
and LinkedHashMap for Map.

Parameters:

mapType - the target type, which needs to be a
sub-interface of Map or a concrete Map class