Would be nice to document which keys returned value contains because now just by looking at the docstring I have no idea what kind of dictionary this function returns.