change pretty json option from "-p" to "-r"