Returns a valid LocalitiesGeocodeTypes for data, null otherwise.
Converts the provided data to a String on success, null otherwise.