Output method write() is not able to process beat.core.Data instances

The output method write() is currently not able to process beat.core.Data instances.

This means that when a complex data structure is read from the inputs and that this input has to be written in one of the outputs, the user currently has to convert it into a JSON like python dictionary.