optimised nested mapper