Allow optional subscripting through JSONValue