Fix revision history's json representation