Minor change to build_dict_object