+ Bug fix, if geometry is null do not try to write it as WKT or GML but
return a null string