Imenu support

If JSON is object, then top-level property names are indexed.