getItem ::  String -> IO (Maybe Item)
getItem ref = do
    raw <- getRaw ref
    return $ liftM decodeItem $ raw

-- Get the ref field of the current doc
getItem ::  String -> IO (Maybe Item)
getItem ref = do
    raw <- getRaw ref
    return $ liftM decodeItem $ raw

-- Get the ref field of the current doc
getItem ref = do
    raw <- getRaw ref
    return $ liftM decodeItem $ raw

-- Get the ref field of the current doc