add support for setting tags from JSON
cleanup
inject some tags in Database output
simpler Database streams, using a single input port with tags