simplified saving json from file into db