custom_mapper

Custom mapper support.

It is rough dirty draft solution made just for discussion. Please, DO NOT merge it.
What is your suggestion?