initial support for generating output json legend file
lock on writing the definition file from multiple output modules