call mapper inside handler to avoid segfaults
Merge pull request #1 from geopipes/frankenobjects

call mapper inside handler to avoid segfaults