JoinValue: add some common mapping functions