Sensibly handle whether to show share info in the json repr.
Merge remote-tracking branch 'origin/master'