Correctly set type and serialize correct value for References

Conflicts:
	CHANGELOG.md
Binary properties are already filtered, but I like the idea of having a read-only representation.