Function JSONValue.opIndex

Temporary index operations until std.variant is fixed in 2.067

ref JSONValue opIndex (
  size_t idx
);

ref JSONValue opIndex (
  string key
);

These exist only to overcome current shortcomings in the index op for std.variant, which should be fixed in 2.067 and above. See https://github.com/s-ludwig/std_data_json/pull/3#issuecomment-73127624