made nested_dict to delim more flex