dynamic hydration on mappers for function queries