Outputs json to stdout

Also replaces print to print on stderr