-fixed needle read (Thanks Chris)
-added option to export.go to show JSON output