Thread safety
test JSON map for generic stats