Seperated json creation from cli.rs and added better help message. Also user-friendly message creation