Upon more thought, this shouldn't remove the 'reference' datatype and I will recommit here. It's used to format user-provided strings in {'name': $str} JSON output. This is again a backwards-compatibility reason for keeping it in.