JSON processing, progress dialog added