Change all json values in database to separate columns