Guard against exploring nonexistent serialization

If the serialization being parsed for labels has no serializationObject,
don't bother trying to read the keys. `Object.keys` doesn't react well
to a null argument.
Merge pull request #1470 from mczepiel/serialization-object-guard

Guard against exploring nonexistent serialization