default value cleanup & metadata.json generation