More debugging on CDB generation, JSON file generation concept (simple)