Support JSON production environment

I made a pull request that created two environment modes for the `Map` (test and production).  Production mode didn't work because I didn't test it.  This fixes that.