diff --git a/Main.hs b/Main.hs
--- a/Main.hs
+++ b/Main.hs
@@ -166,7 +166,9 @@
     Just <$> AT.takeWhile1 (AT.inClass "a-zA-Z0-9_-")
 
 pKeyOrIndex :: AT.Parser Key
-pKeyOrIndex = pTupleKey <|> pIndex <|> pKey
+pKeyOrIndex = 
+    ((pTupleKey <|> pIndex) <* AT.char ']')
+    <|> pKey
 
 pIndex :: AT.Parser Key   
 pIndex = Index <$> AT.decimal 
diff --git a/jsontsv.cabal b/jsontsv.cabal
--- a/jsontsv.cabal
+++ b/jsontsv.cabal
@@ -2,7 +2,7 @@
 --  see http://haskell.org/cabal/users-guide/
 
 name:                jsontsv
-version:             0.1.6.0
+version:             0.1.6.1
 synopsis:            JSON to TSV transformer
 homepage:            https://github.com/danchoi/jsontsv
 description:         Transforms JSON into tab-separated line-oriented output, for easier processing in Unix-style pipelines.
