db struct json config files