added datatype to str output, closes #56
merge branch 'issue56' into devel