update version and add pretty json output