fixed & converted maskJSON from map[string]interface to simplejson.

Somehow in the mix of things the type assertion in the last commit caused a panic. This one works.