custom_mapper

Custom mapper support.

It is rough dirty draft solution made just for discussion. Please, DO NOT merge it.
yes this is fine