fixed some json inspection stuff.