Cli Json validator and formattor