Add serialization support for hidden properties in kryo and graphson.