rename hash spec to dotted_paths_spec