load json into database