python-like lists and dicts in R