Add pretty json printing, and common_commands.