parsing and defining a new json db