Return a map from the handler