PHP script which converts json to SQL and imports these in the set mysql db