added toString function

add support for geo types if possible