World Setup, Gateway and Software updated

Cleaned up debug strings in Gateway and Software
Optimized JSON generation in World Setup