Minor documentation fix
Add LabelRef JSON serialization and fix binary marshaling