change config db to one json field