Make sure a Reference writer is generated

Factor out ReferenceValue.jsonschema from Reference.jsonschema to be consistent with all of the other properties and writers.