Process JSON in background