Fixing scope set color output to match normal output
Better error handling on f-ed up JSON