storing JSON into db for easy parsing