Fixed behavior.json generation

Fixed behavior.json generation