add serializer as attribute to a node when loading