preparing to be able to provide your own mapper factory in toGwt