Add check error
Split to struct for GhostJSON
os.Stderr -> os.Stdout