First working version of the inspector.

Works for String and primitive types.