Correctly set type and serialize correct value for References

Conflicts:
	CHANGELOG.md
Are there any other properties that will need a similar approach here?

i.e. REFERENCES have an associative array of `UUID => Object`, and we want to expose the UUID.